package com.qst.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

/**
 * 活动表
 * @TableName activity
 */
@TableName(value ="activity")
public class Activity {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer a_id;
    
    private Integer aId;

    /**
     * 开始时间
     */
    private Date begin_date;
    
    private Date beginDate;

    /**
     * 结束时间
     */
    private Date end_date;
    
    private Date endDate;

    /**
     * 活动标题
     */
    private String act_title;
    
    private String actTitle;

    /**
     * 活动内容
     */
    private String act_detail;
    
    private String actDetail;

    /**
     * 活动状态
     */
    private String act_state;
    
    private String actState;

    /**
     * 发布时间
     */
    private Date update_time;
    
    private Date updateTime;

    // ID字段的getter/setter方法
    public Integer getAId() {
        return aId != null ? aId : a_id;
    }

    public void setAId(Integer aId) {
        this.aId = aId;
        if (this.a_id == null) {
            this.a_id = aId;
        }
    }

    public Integer getA_id() {
        return a_id;
    }

    public void setA_id(Integer a_id) {
        this.a_id = a_id;
        if (this.aId == null) {
            this.aId = a_id;
        }
    }

    // 开始时间字段的getter/setter方法
    public Date getBeginDate() {
        return beginDate != null ? beginDate : begin_date;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
        if (this.begin_date == null) {
            this.begin_date = beginDate;
        }
    }

    public Date getBegin_date() {
        return begin_date;
    }

    public void setBegin_date(Date begin_date) {
        this.begin_date = begin_date;
        if (this.beginDate == null) {
            this.beginDate = begin_date;
        }
    }

    // 结束时间字段的getter/setter方法
    public Date getEndDate() {
        return endDate != null ? endDate : end_date;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
        if (this.end_date == null) {
            this.end_date = endDate;
        }
    }

    public Date getEnd_date() {
        return end_date;
    }

    public void setEnd_date(Date end_date) {
        this.end_date = end_date;
        if (this.endDate == null) {
            this.endDate = end_date;
        }
    }

    // 活动标题字段的getter/setter方法
    public String getActTitle() {
        return actTitle != null ? actTitle : act_title;
    }

    public void setActTitle(String actTitle) {
        this.actTitle = actTitle;
        if (this.act_title == null) {
            this.act_title = actTitle;
        }
    }

    public String getAct_title() {
        return act_title;
    }

    public void setAct_title(String act_title) {
        this.act_title = act_title;
        if (this.actTitle == null) {
            this.actTitle = act_title;
        }
    }

    // 活动内容字段的getter/setter方法
    public String getActDetail() {
        return actDetail != null ? actDetail : act_detail;
    }

    public void setActDetail(String actDetail) {
        this.actDetail = actDetail;
        if (this.act_detail == null) {
            this.act_detail = actDetail;
        }
    }

    public String getAct_detail() {
        return act_detail;
    }

    public void setAct_detail(String act_detail) {
        this.act_detail = act_detail;
        if (this.actDetail == null) {
            this.actDetail = act_detail;
        }
    }

    // 活动状态字段的getter/setter方法
    public String getActState() {
        return actState != null ? actState : act_state;
    }

    public void setActState(String actState) {
        this.actState = actState;
        if (this.act_state == null) {
            this.act_state = actState;
        }
    }

    public String getAct_state() {
        return act_state;
    }

    public void setAct_state(String act_state) {
        this.act_state = act_state;
        if (this.actState == null) {
            this.actState = act_state;
        }
    }

    // 更新时间字段的getter/setter方法
    public Date getUpdateTime() {
        return updateTime != null ? updateTime : update_time;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        if (this.update_time == null) {
            this.update_time = updateTime;
        }
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
        if (this.updateTime == null) {
            this.updateTime = update_time;
        }
    }
}